home *** CD-ROM | disk | FTP | other *** search
- Path: f411.n201!not-for-mail
- Newsgroups: comp.sys.cbm
- X-Comment-To: riverYard
- From: Pontus Berg <Pontus.Berg@p71.anet.canit.se>
- Date: Mon, 08 Apr 96 01:19:18 +0200
- Subject: programming question:block-X commands
- Message-ID: <828951461@p71.f411.n201.z2.ftn>
- References: <1834008510@news.xmission.com>
- Organization: BoArDgasm, Farsta, Sweden
- X-FTN-AREA: CANIT_COMP_SYS_CBM
- X-FTN-MSGID: 2:201/411.71 3168cba5
- X-FTN-REPLY: news.xmission.com 6d50bfbe
- X-FTN-CHRS: IBMPC 2
- X-FTN-Tearline: Spot 1.3a #676
- X-FTN-Origin: BoArDgasm, Farsta, Sweden (2:201/411.71)
- X-FTN-SEEN-BY: 201/411
- X-FTN-PATH: 201/411
- X-FTN-PATH: 201/411
-
- In a message of 05 Apr 96 riverYard wrote to All:
-
- r> i asked this earlier but i lost the answer, and it didn't help much
- r> anyhooz. i was told that to use the U1 and U2 drive commands through
- r> assembly, you had to send the whole thing as a big block of text, i.e.:
- r> ..byte "U1: 2 0 18 1" for channel, drive, track, block respectively. i
- r> don't have a number-to-text routing written yet and i don't want to deal
- r> with it right now. can i send ..byte "U1:",2,0,18,1 instead? last time
- r> i tried this and it didn't work, but i was using B-R instead.
-
- No, no and no! The numbers also have to be "coded" as text, so use
-
- .text "U1: 2 0 18 1"
-
- (.text is the pseudoopcode I use for text). $BDCD is an address that springs to
- mind when it comes to printing values as strings. Input a hexvalue and see it
- output to the current channel as decimal coded as text. A necessety for prining
- directories!
-
- No commas or anything inbetween. I *think* you terminate the command with $0d,
- but this is something I have to check if you don't get it to work!
-
- )==========================================================(
- ) o/ Bacchus@FairLight.COM Fido: 2:201/411.71 (
- ) (# I'm a "geek tool" so ask about emulators elsewhere! (
- )=/7=======================================================(
-
- ... "The first point and click interface - Smith & Wesson"
-